![]() |
GetEntryUsage |
||||
Header: | Palettes.h | Carbon status: | Supported | |
Obtains the usage and tolerance fields of a palette entry.
void GetEntryUsage ( PaletteHandle srcPalette, SInt16 srcEntry, SInt16 *dstUsage, SInt16 *dstTolerance );
A handle to the palette to be accessed.
The palette entry whose usage and tolerance are desired.
A pointer to the usage value of the palette entry.
A pointer to the tolerance value of the palette entry.
You can modify the entry’s usage and tolerance values by using the SetEntryUsage function.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)